Class LocalObject
java.lang.Object
org.eclipse.dirigible.repository.local.LocalObject
- Direct Known Subclasses:
LocalFile,LocalFolder
public abstract class LocalObject extends Object
The base of domain objects in the file system based implementation.
-
Constructor Summary
Constructors Constructor Description LocalObject(FileSystemRepository repository)Instantiates a new local object. -
Method Summary
Modifier and Type Method Description DategetCreatedAt()Gets the created at.StringgetCreatedBy()Gets the created by.DategetModifiedAt()Gets the modified at.StringgetModifiedBy()Gets the modified by.StringgetName()Gets the name.StringgetPath()Gets the path.intgetPermissions()Gets the permissions.FileSystemRepositorygetRepository()Gets the repository.voidsetCreatedAt(Date createdAt)Sets the created at.voidsetCreatedBy(String createdBy)Sets the created by.voidsetModifiedAt(Date modifiedAt)Sets the modified at.voidsetModifiedBy(String modifiedBy)Sets the modified by.voidsetName(String name)Sets the name.voidsetPath(String path)Sets the path.voidsetPermissions(int permissions)Sets the permissions.
-
Constructor Details
-
LocalObject
Instantiates a new local object.- Parameters:
repository- the repository
-
-
Method Details
-
getRepository
Gets the repository.- Returns:
- the repository
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getPath
Gets the path.- Returns:
- the path
-
setPath
Sets the path.- Parameters:
path- the new path
-
getPermissions
public int getPermissions()Gets the permissions.- Returns:
- the permissions
-
setPermissions
public void setPermissions(int permissions)Sets the permissions.- Parameters:
permissions- the new permissions
-
getCreatedBy
Gets the created by.- Returns:
- the created by
-
setCreatedBy
Sets the created by.- Parameters:
createdBy- the new created by
-
getCreatedAt
Gets the created at.- Returns:
- the created at
-
setCreatedAt
Sets the created at.- Parameters:
createdAt- the new created at
-
getModifiedBy
Gets the modified by.- Returns:
- the modified by
-
setModifiedBy
Sets the modified by.- Parameters:
modifiedBy- the new modified by
-
getModifiedAt
Gets the modified at.- Returns:
- the modified at
-
setModifiedAt
Sets the modified at.- Parameters:
modifiedAt- the new modified at
-