Class AbstractASGDocument

    • Field Detail

      • INT_PROPERTY_MULTILINGUAL_DISABLED

        protected static final java.lang.String INT_PROPERTY_MULTILINGUAL_DISABLED
        Constant INT_PROPERTY_MULTILINGUAL_DISABLED="ml-disabled"
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractASGDocument

        protected AbstractASGDocument​(java.lang.String anId)

        Constructor for AbstractASGDocument.

        Parameters:
        anId - a String object.
    • Method Detail

      • getObjectInfo

        public ObjectInfo getObjectInfo()
        Returns the object info about this data object.
        Specified by:
        getObjectInfo in interface DataObject
        Returns:
        object info
      • getInternalProperty

        protected Property getInternalProperty​(java.lang.String name)

        getInternalProperty.

        Parameters:
        name - a String object.
        Returns:
        a Property object.
      • setInternalProperty

        protected void setInternalProperty​(Property p)

        setInternalProperty.

        Parameters:
        p - a Property object.
      • isLocked

        public boolean isLocked()
        Return true if current is locked, false otherwise.
        Specified by:
        isLocked in interface LockableObject
        Returns:
        boolean param
      • setLocked

        public void setLocked​(boolean aLock)
        Allows to lock or unlock current.
        Specified by:
        setLocked in interface LockableObject
        Parameters:
        aLock - boolean lock, unlock
      • getLockerId

        public java.lang.String getLockerId()
        Returns lockerName, actually name of user - who locked current.
        Specified by:
        getLockerId in interface LockableObject
        Returns:
        string user name
      • setLockerId

        public void setLockerId​(java.lang.String aLockerId)
        Allow to modify lockerId.
        Specified by:
        setLockerId in interface LockableObject
        Parameters:
        aLockerId - actually user name
      • getLockingTime

        public long getLockingTime()
        Returns locking time.
        Specified by:
        getLockingTime in interface LockableObject
        Returns:
        long value
      • setLockingTime

        public void setLockingTime​(long aLockTime)
        Allows to modify locking time.
        Specified by:
        setLockingTime in interface LockableObject
        Parameters:
        aLockTime - long time